import request from '@/utils/request';

export function getPaymentList(pageNum,pageSize,form) {
    return request({
      url: `/payment/payment/findAll?pageNum=${pageNum}&pageSize=${pageSize}`,
      method: 'post',
      data:form
    });
}

//楼栋动态查询
export function findBuildingblock() {
  return request({
    url: `/payment/buildingblock/findAll`,
    method: 'get'
  })
}

//单元动态查询
export function findUnit() {
  return request({
    url: `/payment/buildingblock/findUnit`,
    method: 'get'
  })
}

//楼层动态查询
export function findFloor() {
  return request({
    url: `/payment/buildingblock/findFloor`,
    method: 'get'
  })
}

//房间号动态查询
export function findRoom() {
  return request({
    url: `/payment/buildingblock/findRoom`,
    method: 'get'
  })
}


 
//催缴功能查询
export function RemindersAPI(ids) {
  return request({
    url: '/payment/payment/send',
    method: 'post',
    data: ids // 发送IDs数组
  })
}
 